<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:composite="http://java.sun.com/jsf/composite">

<composite:interface>
    <composite:attribute name="deploymentId" required="true"/>
</composite:interface>

<composite:implementation>
    <p:dialog id="workflowImageDialog" widgetVar="workflowImageWidgetVar" modal="true" header="流程图"
              resizable="false" width="1200" height="600">
        <p:graphicImage value="#{workflowImageBean.workflowImage}">
            <f:param name="deploymentId" value="#{cc.attrs.deploymentId}"/>
        </p:graphicImage>
    </p:dialog>
</composite:implementation>
</html>